// prevent unexpected DnD behaviors
(function (window) {
    function rejectDnD(ev) {
        ev.preventDefault()
        ev.stopPropagation()
        ev.dataTransfer.effectAllowed = 'none'
        ev.dataTransfer.dropEffect = 'none'
    }
    window.addEventListener('dragenter', rejectDnD)
    window.addEventListener('dragover', rejectDnD)
    window.addEventListener('drop', rejectDnD)
})(window)


